SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{667ebd63c08afcc73861158804bac3593b9c920fce522be6e629b7d657fb27a5}Altlay{667ebd63c08afcc73861158804bac3593b9c920fce522be6e629b7d657fb27a5}' OR prCity = 'Altlay' OR prZip = 'Altlay' OR prStreet LIKE '{667ebd63c08afcc73861158804bac3593b9c920fce522be6e629b7d657fb27a5}Altlay{667ebd63c08afcc73861158804bac3593b9c920fce522be6e629b7d657fb27a5}' OR prCountry = 'Altlay') AND (prLocation LIKE '{667ebd63c08afcc73861158804bac3593b9c920fce522be6e629b7d657fb27a5}Germany{667ebd63c08afcc73861158804bac3593b9c920fce522be6e629b7d657fb27a5}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{667ebd63c08afcc73861158804bac3593b9c920fce522be6e629b7d657fb27a5}Germany{667ebd63c08afcc73861158804bac3593b9c920fce522be6e629b7d657fb27a5}' OR prCountry = 'Germany')